package com.kuang.springCloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

//注：Ribbon和Eureka整合以后，客户端可以直接调用，不用关心IP地址和端口号
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.kuang.springCloud"}) //配置feign扫描指定的接口 包
@ComponentScan("com.kuang.springCloud")
public class FeignDeptCustomer_80 {
    public static void main(String[] args) {
        SpringApplication.run(FeignDeptCustomer_80.class,args);
    }
}
